package com.ruoyi.notice.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息通知对象 gc_notice
 *
 * @author ruoyi
 * @date 2025-05-16
 */
@ApiModel
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 委托单id */
    @Excel(name = "委托单id")
    @ApiModelProperty(value = "委托单id")
    private Long commissionId;

    /** 工程id */
    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    /** 通知类型 */
    @Excel(name = "通知类型")
    @ApiModelProperty(value = "通知类型")
    private String noticType;

    /** 通知内容 */
    @Excel(name = "通知内容")
    @ApiModelProperty(value = "通知内容")
    private String noticContent;

    /** 通知人 */
    @Excel(name = "通知人")
    @ApiModelProperty(value = "通知人")
    private String userId;

    private String enterpriseName;

    private String number;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }

    public Long getCommissionId()
    {
        return commissionId;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }
    public void setNoticType(String noticType)
    {
        this.noticType = noticType;
    }

    public String getNoticType()
    {
        return noticType;
    }
    public void setNoticContent(String noticContent)
    {
        this.noticContent = noticContent;
    }

    public String getNoticContent()
    {
        return noticContent;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commissionId", getCommissionId())
            .append("engineeringId", getEngineeringId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("noticType", getNoticType())
            .append("noticContent", getNoticContent())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .toString();
    }
}
